<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <button id="btn">跳转本页传参</button>
  <script>
    var btn = document.getElementById("btn");
    btn.onclick = function () {

      // encodeURI 编码中文传送
      location.href = encodeURI("./11 search中文参数解析.html?name=张三age=88")

    }





  </script>
</body>

</html>